//
// Created by yb on 10/21/20.
//
#include <iostream>
#include <string.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <errno.h>
#include <unistd.h>
using namespace  std;
#ifndef DATAREDIS_TCPTOMIS_H
#define DATAREDIS_TCPTOMIS_H


class Tcptomis{
public:
    Tcptomis();

    virtual ~Tcptomis();

    static int getSockfd(const string &ip , int port);



    static string submitEcho(const string &msg);

};

#endif //DATAREDIS_TCPTOMIS_H
